package com.ccp.dev.system.model;

import com.ccp.dev.core.basic.model.BaseModel;
import java.util.Date;

/**
 * 日志开关表 sys_log_switch
 * 
 * @author zw
 * @date 2019-07-18 19:04:01
 */
public class SysLogSwitch extends  BaseModel<SysLogSwitch>
{
	private static final long serialVersionUID = 1L;

    /**
     * 外部扩展模块，可删除
     */
	public static final Short FROM_TYPE_EXT=1;
    /**
     * 内置模块，不可删除
     */
	public static final Short FROM_TYPE_IN=0;
    /**
     * 关闭
     */
    public static final short STATUS_CLOSE = 0;

    /**
     * 开启
     */
    public static final short STATUS_OPEN = 1;

    /**
     * 主键ID
     */
	private String  id;
    /**
     * 模块名称
     */
	private String  model;
    /**
     * 状态是否开启0关1开
     */
	private Short status = STATUS_CLOSE;
    /**
     * createtime
     */

	private Date  createtime;
    /**
     * creator
     */
	private String  creator;
    /**
     * creatorid
     */
	private String  creatorid;
    /**
     * updby
     */
	private String  updby;
    /**
     * updbyid
     */
	private String  updbyid;
    /**
     * 备注
     */
	private String  memo;
    /**
     * lastuptime
     */
	private Date  lastuptime;
    /**
     * 数据类型0内置不可删除，1动态添加，可删除
     */
	private Short  fromType;

    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getModel() {
        return this.model;
    }
    public void setModel(String model) {
        this.model = model;
    }
    public Short getStatus() {
        return this.status;
    }
    public void setStatus(Short status) {
        this.status = status;
    }
    public Date getCreatetime() {
        return this.createtime;
    }
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    public String getCreator() {
        return this.creator;
    }
    public void setCreator(String creator) {
        this.creator = creator;
    }
    public String getCreatorid() {
        return this.creatorid;
    }
    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid;
    }
    public String getUpdby() {
        return this.updby;
    }
    public void setUpdby(String updby) {
        this.updby = updby;
    }
    public String getUpdbyid() {
        return this.updbyid;
    }
    public void setUpdbyid(String updbyid) {
        this.updbyid = updbyid;
    }
    public String getMemo() {
        return this.memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    public Date getLastuptime() {
        return this.lastuptime;
    }
    public void setLastuptime(Date lastuptime) {
        this.lastuptime = lastuptime;
    }
    public Short getFromType() {
        return this.fromType;
    }
    public void setFromType(Short fromType) {
        this.fromType = fromType;
    }

    @Override
    public String toString() {
        return "SysLogSwitch{" +
                "id='" + id + '\'' +
                ", model='" + model + '\'' +
                ", status=" + status +
                ", createtime=" + createtime +
                ", creator='" + creator + '\'' +
                ", creatorid='" + creatorid + '\'' +
                ", updby='" + updby + '\'' +
                ", updbyid='" + updbyid + '\'' +
                ", memo='" + memo + '\'' +
                ", lastuptime=" + lastuptime +
                ", fromType=" + fromType +
                '}';
    }
}
